CVE-2013-2132
MongoDB BSON Denial of Service
Description
bson/_cbsonmodule.c in the mongo-python-driver (aka. pymongo) before 2.5.2, as used in MongoDB, allows context-dependent attackers to cause a denial of service (NULL pointer dereference and crash) via vectors related to decoding of an "invalid DBRef."
INFO
Published Date :
Aug. 15, 2013, 5:55 p.m.
Last Modified :
April 11, 2025, 12:51 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
                                            The following products are affected by CVE-2013-2132
                                            vulnerability.
                                            Even if cvefeed.io is aware of the exact versions of the
                                            products
                                            that
                                            are
                                            affected, the information is not represented in the table below.
                                        
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 2.0 | MEDIUM | [email protected] | 
Solution
- Update the pymongo, python-bson, python-bson-ext, or python3-pymongo packages.
- If prompted, restart the MongoDB service.
Public PoC/Exploit Available at Github
                                            CVE-2013-2132 has a 3 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2013-2132.
                                        
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2013-2132 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2013-2132
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Makefile Python
🔥 A powerful MongoDB auditing and pentesting tool 🔥
Makefile Python
🔥 A powerful MongoDB auditing and pentesting tool 🔥
mongodb infosec pentesting encryption authentication database hardening cli
Makefile Python
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2013-2132 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2013-2132 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108Nov. 21, 2024 Action Type Old Value New Value Added Reference http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710597 Added Reference http://lists.opensuse.org/opensuse-updates/2013-06/msg00180.html Added Reference http://seclists.org/oss-sec/2013/q2/447 Added Reference http://ubuntu.com/usn/usn-1897-1 Added Reference http://www.debian.org/security/2013/dsa-2705 Added Reference http://www.osvdb.org/93804 Added Reference http://www.securityfocus.com/bid/60252 Added Reference https://github.com/mongodb/mongo-python-driver/commit/a060c15ef87e0f0e72974c7c0e57fe811bbd06a2 Added Reference https://jira.mongodb.org/browse/PYTHON-532 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            CVE Modified by [email protected]Feb. 13, 2023 Action Type Old Value New Value Changed Description CVE-2013-2132 pymongo: null pointer when decoding invalid DBRef bson/_cbsonmodule.c in the mongo-python-driver (aka. pymongo) before 2.5.2, as used in MongoDB, allows context-dependent attackers to cause a denial of service (NULL pointer dereference and crash) via vectors related to decoding of an "invalid DBRef." Removed CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Removed CVSS V2 Red Hat, Inc. (AV:N/AC:L/Au:N/C:N/I:N/A:P) Removed Reference https://access.redhat.com/errata/RHSA-2013:1170 [No Types Assigned] Removed Reference https://access.redhat.com/security/cve/CVE-2013-2132 [No Types Assigned] Removed Reference https://bugzilla.redhat.com/show_bug.cgi?id=969560 [No Types Assigned] 
- 
                            CVE Modified by [email protected]Feb. 02, 2023 Action Type Old Value New Value Changed Description bson/_cbsonmodule.c in the mongo-python-driver (aka. pymongo) before 2.5.2, as used in MongoDB, allows context-dependent attackers to cause a denial of service (NULL pointer dereference and crash) via vectors related to decoding of an "invalid DBRef." CVE-2013-2132 pymongo: null pointer when decoding invalid DBRef Added CVSS V2 Red Hat, Inc. (AV:N/AC:L/Au:N/C:N/I:N/A:P) Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=969560 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2013:1170 [No Types Assigned] Added Reference https://access.redhat.com/security/cve/CVE-2013-2132 [No Types Assigned] 
- 
                            CPE Deprecation Remap by [email protected]Oct. 30, 2018 Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:o:novell:opensuse:12.3:*:*:*:*:*:*:* OR *cpe:2.3:o:opensuse:opensuse:12.3:*:*:*:*:*:*:* 
- 
                            Initial Analysis by [email protected]Aug. 15, 2013 Action Type Old Value New Value 
Vulnerability Scoring Details
Base CVSS Score: 4.3
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
2.23 }} -0.38%
score
0.83941
percentile
 
                         
                         
                         
                                             
                                            